package interfaces;

import entities.TSm;
import views.VSmTransaction;

import java.util.Map;

import basic.QuerySet;
import basic.ResultSet;

public interface ISmService {

	public Boolean exist(String primaryKey) throws Exception;
	
	public Boolean contain(Map<String,Object> paramMap) throws Exception;

	public TSm fetch(String primaryKey) throws Exception;
	
	public TSm single(Map<String,Object> paramMap) throws Exception;

	public TSm persist(TSm entityBean) throws Exception;

	public Integer remove(String primaryKey ) throws Exception;
	
	public Integer expunge(Map<String,Object> paramMap) throws Exception;
	
	public Double summary(QuerySet<Object> querySet) throws Exception;

	public Integer record(Map<String,Object> paramMap) throws Exception;

	public  ResultSet<TSm> search(QuerySet<Object> querySet) throws Exception;
	
	
	public Boolean possess(Map<String,Object> paramMap) throws Exception;
	
	public VSmTransaction solely(Map<String,Object> paramMap) throws Exception;
	
	public Double collect(QuerySet<Object> querySet) throws Exception;
	
	public  ResultSet<VSmTransaction> relate(QuerySet<Object> querySet) throws Exception;
	
	
}
